package com.latam.arq.example.airports.ejb.services;

import java.util.List;

import javax.ejb.Local;

import com.latam.arq.commons.exceptions.LATAMException;
import com.latam.arq.example.domain.Airport;

@Local
public interface AirportsStatusService {
	//Business Methods
	/**
	 * This is the business method that change the status of an airport. 
	 * @param iataCode
	 * @param statusCode
	 * @throws LATAMException
	 */
	public void setStatus( String iataCode, String statusCode ) throws LATAMException;
	
	//Support Methods	
	/**
	 * This is a support method that don't do anything to the business context.
	 * @return List
	 */
	public List<Airport> getAirports();
}
